package com.lw.yygh.order.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lw.yygh.model.order.OrderInfo;
import com.lw.yygh.model.order.OrderQueryVo;

import java.util.List;

public interface OrderService extends IService<OrderInfo> {
    String saveOrder(String scheduleId, Long patientId);

    //订单交易号
    OrderInfo getOrder(String orderId);

    IPage<OrderInfo> selectPage(Page<OrderInfo> pageParam, OrderQueryVo orderQueryVo);

    void updateOrder(Long id);

    Boolean cancelOrder(String orderId);

}
